package com.shop.loan.model.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class ClassifyByMybatis {
    /**
     * 
     */
    private Long id;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 排序数值
     */
    private Integer bySort;

    /**
     * 是否热门榜单
     */
    private Boolean homeShow;

    /**
     * 图标
     */
    private String logo;

    /**
     * 名称
     */
    private String name;

    /**
     * 创建人
     */
    private Long createUserId;

    /**
     * 
     */
    private Long updateUserId;

    /**
     * 上级类目
     */
    private Long topClassifyId;

    /**
     * 
     */
    private Date deleteTime;

    /**
     * 
     */
    private Boolean isDelete;


    private List<GoodsByMybatis> goodsList;

    public ClassifyByMybatis(Long id, Date createTime, Date updateTime, Integer bySort, Boolean homeShow, String logo, String name, Long createUserId, Long updateUserId, Long topClassifyId, Date deleteTime, Boolean isDelete) {
        this.id = id;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.bySort = bySort;
        this.homeShow = homeShow;
        this.logo = logo;
        this.name = name;
        this.createUserId = createUserId;
        this.updateUserId = updateUserId;
        this.topClassifyId = topClassifyId;
        this.deleteTime = deleteTime;
        this.isDelete = isDelete;
    }

    public ClassifyByMybatis() {
        super();
    }

    /**
     * 获取
     * @return id 
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取创建时间
     * @return create_time 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return update_time 
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime 
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取排序数值
     * @return by_sort 排序数值
     */
    public Integer getBySort() {
        return bySort;
    }

    /**
     * 设置排序数值
     * @param bySort 排序数值
     */
    public void setBySort(Integer bySort) {
        this.bySort = bySort;
    }

    /**
     * 获取是否热门榜单
     * @return home_show 是否热门榜单
     */
    public Boolean getHomeShow() {
        return homeShow;
    }

    /**
     * 设置是否热门榜单
     * @param homeShow 是否热门榜单
     */
    public void setHomeShow(Boolean homeShow) {
        this.homeShow = homeShow;
    }

    /**
     * 获取图标
     * @return logo 图标
     */
    public String getLogo() {
        return logo;
    }

    /**
     * 设置图标
     * @param logo 图标
     */
    public void setLogo(String logo) {
        this.logo = logo == null ? null : logo.trim();
    }

    /**
     * 获取名称
     * @return name 名称
     */
    public String getName() {
        return name;
    }

    /**
     * 设置名称
     * @param name 名称
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 获取创建人
     * @return create_user_id 创建人
     */
    public Long getCreateUserId() {
        return createUserId;
    }

    /**
     * 设置创建人
     * @param createUserId 创建人
     */
    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    /**
     * 获取
     * @return update_user_id 
     */
    public Long getUpdateUserId() {
        return updateUserId;
    }

    /**
     * 设置
     * @param updateUserId 
     */
    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    /**
     * 获取上级类目
     * @return top_classify_id 上级类目
     */
    public Long getTopClassifyId() {
        return topClassifyId;
    }

    /**
     * 设置上级类目
     * @param topClassifyId 上级类目
     */
    public void setTopClassifyId(Long topClassifyId) {
        this.topClassifyId = topClassifyId;
    }

    /**
     * 获取
     * @return delete_time 
     */
    public Date getDeleteTime() {
        return deleteTime;
    }

    /**
     * 设置
     * @param deleteTime 
     */
    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    /**
     * 获取
     * @return is_delete 
     */
    public Boolean getIsDelete() {
        return isDelete;
    }

    /**
     * 设置
     * @param isDelete 
     */
    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }
}